<!DOCTYPE html>

<html class="theme">

	<head>
		<meta charset="utf-8">

		<meta name="description" content="">
		<meta name="author" content="Jiawei Zhang">

		<meta name="viewport" content="width=device-width, initial-scale=1.0">

		<title>COMMON附件相关接口</title>

		<link href="https://www.zybuluo.com/static/img/favicon.png" type="image/x-icon" rel="icon">

		<link rel="stylesheet" href="base.lib.min.css" media="screen" />

		<link id="prettify-style" rel="stylesheet" href="prettify-cmd.css" />

		<link id="mermaid-style" rel="stylesheet" href="mermaid.forest.css" />

		<link rel="stylesheet" href="layout.min.css" media="screen" />

		<script>
			(function(i, s, o, g, r, a, m) {
				i['GoogleAnalyticsObject'] = r;
				i[r] = i[r] || function() {
					(i[r].q = i[r].q || []).push(arguments)
				}, i[r].l = 1 * new Date();
				a = s.createElement(o),
					m = s.getElementsByTagName(o)[0];
				a.async = 1;
				a.src = g;
				m.parentNode.insertBefore(a, m)
			})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');

			ga('create', 'UA-44461741-1', 'zybuluo.com');
			ga('send', 'pageview');
		</script>
		<!-- zybuluo's foot -->

		<script type="text/javascript" src="base.lib.min.js"></script>

		<script>
			Namespace('com.zybuluo.base');
			com.zybuluo.base.initData = {
				globalPromptUrl: "https://www.zybuluo.com/global/prompt",
			};
		</script>

		<!--mathjax-->
		<!--blacker: 1 below means font weight.-->
		<script type="text/x-mathjax-config">
			MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ["\\(","\\)"]], processEscapes: true }, TeX: { equationNumbers: { autoNumber: "AMS" } }, messageStyle: "none", SVG: { blacker: 1 }});
		</script>
		<script type="text/javascript" src="mathJax.js"></script>
		<script type="text/javascript" src="confMathJax.js"></script>

		<script>
			Namespace('com.zybuluo.mdeditor.layout');
			com.zybuluo.mdeditor.layout.initData = {
				// '' means not logged in, otherwise the logged in username, for mdeditor.mako, this value will be reset in render.js otherwise, for user_note.mako, it's rendered by server side.
				loggedInUsername: 'xuduochoua',
				isPageOwner: 'True' === 'True' ? true : false,
				loginComeFromUrl: 'https://www.zybuluo.com/login?return_to=https%3A%2F%2Fwww.zybuluo.com%2Fxuduochoua%2Fnote%2F302503',
				noteRemarksUrl: "https://www.zybuluo.com/note/302503/remarks",
				newNoteRemarkUrl: "https://www.zybuluo.com/note/302503/remark/new",
				updateNoteRemarkUrl: "https://www.zybuluo.com/note/302503/remark/update",
				deleteNoteRemarkUrl: "https://www.zybuluo.com/note/302503/remark/delete",
				publishNoteRemarkUrl: "https://www.zybuluo.com/note/302503/remark/publish",
				newNoteRemarkReplyUrl: "https://www.zybuluo.com/note/302503/remark_reply/new",
				updateNoteRemarkReplyUrl: "https://www.zybuluo.com/note/302503/remark_reply/update",
				deleteNoteRemarkReplyUrl: "https://www.zybuluo.com/note/302503/remark_reply/delete",
			};

			// BEGIN: pace.js configuration
			window.paceOptions = {
				// disable others, enable for ajax call only,
				ajax: true,
				document: false,
				elements: false,
				eventLag: false,
			};
			// jiawzhang NOTICE: to make sure pace.js is working for any ajax call especially the jquery ajax, add 'Pace.restart()' into jquery ajax call like '$.post'
			// Originally, pace 0.5.6 doesn't support jquery ajax, see details in: https://github.com/HubSpot/pace/issues/29
			// END: pace.js configuration
		</script>

		<script type="text/javascript" src="layout1.lib.min.js"></script>

		<script>
			Namespace('com.zybuluo.mdeditor.user_note');
			com.zybuluo.mdeditor.user_note.initData = {
				isLoggedIn: 'True',
				mdeditorUrl: "https://www.zybuluo.com/mdeditor",
				passwordPassed: 'True' === 'True' ? true : false,
			};
		</script>

		<!--<script src="https://www.zybuluo.com/static/assets/mdeditor/6cd3112e.user_note.min.js"></script>-->
		<!--<script type="text/javascript" src="user_note.min.js" ></script>-->
	</head>

	<body class="theme">

		<div id="global-prompt-alert" class="hide alert alert-warning">
			<span id="global-prompt-message"></span>
			<a id="close-global-prompt-alert" href="">[关闭]</a>
		</div>

		<!-- zybuluo's body -->

		<!-- mdeditor's body -->

		<div id="editor-reader-full" class="editor-reader-full-shown" style="position: static;">
			<div id="reader-full-topInfo" class="reader-full-topInfo-shown">
				<span>
            		<code>@xuduochoua</code>
       		 	</span>
				<code><span class="article-updated-date">2016-11-15T05:55:45.000000Z</span></code>
				<code><span>字数 </span><span class="article-characters">1085</span></code>
				<code><span>阅读 </span><span class="article-read">4</span></code>
			</div>
			<div id="wmd-preview" class="wmd-preview wmd-preview-full-reader">
				<div class="md-section-divider">

				</div>
				<p data-anchor-id="w50k">
					<div class="toc">
						<ul>
							<li>
								<a href="#common附件相关接口">COMMON附件相关接口</a>
								<ul>
									<li>
										<a href="#接口文档">接口文档</a>
									</li>
								</ul>
							</li>
							<li>
								<a href="#说明">说明</a>
								<ul>
									<li>
										<a href="#1上传附件">1、上传附件</a>
									</li>
									<li>
										<a href="#2修改单附件的文件的状态">2、修改单附件的文件的状态</a>
									</li>
									<li>
										<a href="#3修改多附件的文件的状态">3、修改多附件的文件的状态</a>
									</li>
									<li>
										<a href="#4访问附件">4、访问附件</a>
									</li>
									<li>
										<a href="#6访问附件缩略图尚未写">6、访问附件缩略图——尚未写</a>
									</li>
									<li>
										<a href="#7访问空附件">7、访问空附件</a>
									</li>
								</ul>
							</li>
						</ul>
					</div>
				</p>
				<ol data-anchor-id="ww8r">
					<li>列表项</li>
				</ol>
				<div class="md-section-divider"></div>
				<h1 data-anchor-id="2sfm" id="common附件相关接口">COMMON附件相关接口</h1>
				<p data-anchor-id="h1iw"><em>2016年3月4日</em></p>
				<div class="md-section-divider"></div>
				<h2 data-anchor-id="7cnc" id="接口文档"><code>接口文档</code></h2>
				<div class="md-section-divider"></div>
				<h1 data-anchor-id="e6ly" id="说明">说明</h1>
				<hr>
				<ol data-anchor-id="ijuu">
					<li><code>base_url</code>:
						<a href="http://60.166.4.237:10083/commons" target="_blank">http://60.166.4.237:10083/commons</a>
					</li>
					<li>本项目为单附件上传，如客户端需要多附件上传，请分别调用接口</li>
					<li>上传成功后此附件为临时态，如不修改状态将在适当时机删除该附件</li>
				</ol>
				<hr>
				<div class="md-section-divider"></div>
				<h2 data-anchor-id="s75b" id="1上传附件">1、上传附件</h2>
				<p data-anchor-id="ebfy"><strong>接口地址</strong> <br>
					<code>POST</code> <code>/ajax/upfile</code> <br>
					<strong>请求参数</strong> </p>
				<table data-anchor-id="17hn" class="table table-striped-white table-bordered">
					<thead>
						<tr>
							<th>参数</th>
							<th>数据类型</th>
							<th>必填</th>
							<th>参数说明</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>upfile</td>
							<td>File</td>
							<td></td>
							<td>文件</td>
						</tr>
					</tbody>
				</table>
				<p data-anchor-id="i316"><strong>响应结果</strong></p>
				<div class="md-section-divider"></div><pre class="prettyprint linenums prettyprinted" data-anchor-id="b0ho" style=""><ol class="linenums"><li class="L0"><code class="language-javascript"><span class="pun">{</span></code></li><li class="L1"><code class="language-javascript"><span class="pln">   </span><span class="str">"id"</span><span class="pun">:</span><span class="lit">1</span><span class="pun">,</span><span class="com">//本次上传的附件id</span></code></li><li class="L2"><code class="language-javascript"><span class="pln">    code</span><span class="pun">:</span><span class="lit">0</span><span class="pun">;</span><span class="com">//0表示成功</span></code></li><li class="L3"><code class="language-javascript"><span class="pln">    message</span><span class="pun">:</span><span class="str">""</span><span class="pun">,</span><span class="com">//不成功的时候返回的说明</span></code></li><li class="L4"><code class="language-javascript"><span class="pln">    value</span><span class="pun">:</span><span class="str">""</span><span class="pun">,</span><span class="com">//本附件的相对地址</span></code></li><li class="L5"><code class="language-javascript"><span class="pln">    size</span><span class="pun">:</span><span class="lit">2048</span><span class="com">//文件大小</span></code></li><li class="L6"><code class="language-javascript"><span class="pun">}</span></code></li></ol></pre>
				<div class="md-section-divider"></div>
				<h2 data-anchor-id="hpbm" id="2修改单附件的文件的状态">2、修改单附件的文件的状态</h2>
				<p data-anchor-id="eilm"><strong>接口地址</strong> <br>
					<code>POST</code> <code>/single/change</code> <br>
					<strong>请求参数</strong> </p>
				<table data-anchor-id="isue" class="table table-striped-white table-bordered">
					<thead>
						<tr>
							<th>参数</th>
							<th>数据类型</th>
							<th>必填</th>
							<th>参数说明</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>id</td>
							<td>int</td>
							<td></td>
							<td>文件id</td>
						</tr>
						<tr>
							<td>temporary</td>
							<td>boolean</td>
							<td></td>
							<td>修改为何种状态 false：非临时态，true：临时态；</td>
						</tr>
					</tbody>
				</table>
				<p data-anchor-id="xs6t"><strong>响应结果</strong></p>
				<div class="md-section-divider"></div><pre class="prettyprint linenums prettyprinted" data-anchor-id="47p0" style=""><ol class="linenums"><li class="L0"><code class="language-text"><span class="pln">   </span><span class="kwd">true</span><span class="com">//未做特殊处理</span></code></li></ol></pre>
				<div class="md-section-divider"></div>
				<h2 data-anchor-id="svrd" id="3修改多附件的文件的状态">3、修改多附件的文件的状态</h2>
				<p data-anchor-id="746c"><strong>接口地址</strong> <br>
					<code>POST</code> <code>/multiple/change</code> <br>
					<strong>请求参数</strong> </p>
				<table data-anchor-id="d8tg" class="table table-striped-white table-bordered">
					<thead>
						<tr>
							<th>参数</th>
							<th>数据类型</th>
							<th>必填</th>
							<th>参数说明</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>ids</td>
							<td>String</td>
							<td></td>
							<td>文件id以英文逗号拼接而成的字符串如1,2,3;如不符合此标准不予操作</td>
						</tr>
						<tr>
							<td>temporary</td>
							<td>boolean</td>
							<td></td>
							<td>修改为何种状态 false：非临时态，true：临时态；</td>
						</tr>
					</tbody>
				</table>
				<p data-anchor-id="avcm"><strong>响应结果</strong></p>
				<div class="md-section-divider"></div><pre class="prettyprint linenums prettyprinted" data-anchor-id="ryxq" style=""><ol class="linenums"><li class="L0"><code class="language-text"><span class="pln">   </span><span class="kwd">true</span><span class="com">//成功，false为失败</span></code></li></ol></pre>
				<div class="md-section-divider"></div>
				<h2 data-anchor-id="em43" id="4访问附件">4、访问附件</h2>
				<p data-anchor-id="qmtm"><strong>接口地址</strong> <br>
					<code>GET</code> <code>/ajax/upfile/{id}</code> <br>
					<strong>路径参数</strong> <br>
					<code>id</code>： 访问附件的id <br>
					<strong>请求参数</strong> <br>
					<em>无</em></p>
				<p data-anchor-id="vl8s"><strong>响应结果</strong></p>
				<div class="md-section-divider"></div><pre class="prettyprint linenums prettyprinted" data-anchor-id="3c2b" style=""><ol class="linenums"><li class="L0"><code class="language-text"><span class="pln">   http</span><span class="pun">:</span><span class="com">//......//一个url,不存在的附件则抛出异常</span></code></li></ol></pre>
				<div class="md-section-divider"></div>
				<h2 data-anchor-id="ct6o" id="6访问附件缩略图尚未写">6、访问附件缩略图——尚未写</h2>
				<p data-anchor-id="r2xn"><strong>接口地址</strong> <br>
					<code>GET</code> <code>/attachment/{id}</code> <br>
					<strong>路径参数</strong> <br>
					<code>id</code>： 访问附件的id <br>
					<strong>请求参数</strong> <br> ---|-------|----|----- <br> width |int ||宽度百分比 <br> height |int ||高度百分比</p>
				<p data-anchor-id="xn5d"><strong>响应结果</strong></p>
				<div class="md-section-divider"></div><pre class="prettyprint linenums prettyprinted" data-anchor-id="m6om" style=""><ol class="linenums"><li class="L0"><code class="language-text"><span class="pln">   http</span><span class="pun">:</span><span class="com">//......//一个url,不存在的附件在指向一个固定的图片</span></code></li></ol></pre>
				<div class="md-section-divider"></div>
				<h2 data-anchor-id="8m57" id="7访问空附件">7、访问空附件</h2>
				<p data-anchor-id="wfu1"><strong>接口地址</strong> <br>
					<code>GET</code> <code>/attachment/null</code> <br>
					<strong>路径参数</strong> <br>
					<code>id</code>： 访问附件的id <br>
					<strong>请求参数</strong> <br>
					<em>无</em></p>
				<p data-anchor-id="pb9w"><strong>响应结果</strong></p>
				<div class="md-section-divider"></div><pre class="prettyprint linenums prettyprinted" data-anchor-id="543c" style=""><ol class="linenums"><li class="L0"><code class="language-text"><span class="pln">   http</span><span class="pun">:</span><span class="com">//......//指向一个固定的图片</span></code></li></ol></pre>
				<div class="md-section-divider"></div><pre class="prettyprint linenums prettyprinted" data-anchor-id="1ve8" style=""><ol class="linenums"><li class="L0"><code><span class="com">### AjaxResponse</span></code></li><li class="L1"><code><span class="str">`附件上传返回对象`</span><span class="pln"> </span><span class="pun">对象说明</span></code></li><li class="L2"><code><span class="str">```javascript</span></code></li><li class="L3"><code><span class="str">{</span></code></li><li class="L4"><code><span class="str">   "id":1,//本次上传的附件id</span></code></li><li class="L5"><code><span class="str">    code:0;//0表示成功</span></code></li><li class="L6"><code><span class="str">    message:"",//不成功的时候返回的说明</span></code></li><li class="L7"><code><span class="str">    value:"",//本附件的相对地址</span></code></li><li class="L8"><code><span class="str">    size:2048//文件大小</span></code></li><li class="L9"><code><span class="str">}</span></code></li></ol></pre></div>
			<div class="remark-icons">
			</div>
		</div>

		<!--in page preview buttons. -->
	<!--	<div class="in-page-preview-buttons in-page-preview-buttons-full-reader">
			<ul>
				<li class="in-page-button dropdown" id="preview-toc-button" title="内容目录 Ctrl+Alt+O">
					<span class="dropdown-toggle icon-list" data-toggle="dropdown"></span>
					<div id="toc-list" class="dropdown-menu theme pull-right">
						<!-- Add theme means this element will be changed when apply theme color. -->
						<h3>内容目录</h3>
						<hr>
						<div class="table-of-contents"></div>
					</div>
				</li>
			</ul>
		</div>
		<!--
		<div id="reader-full-toolbar" class="reader-full-toolbar-shown" style="padding-top: 0;">
			<ul id="reader-full-toolbar-home" class="preview-button-row">
				<li class="preview-button-full-reader" id="preview-editor-button" title="撰写文本 Ctrl+Alt+M">
					<span class="icon-pencil"></span>
				</li>
			</ul>
			<ul id="preview-button-row" class="preview-button-row">
				<li class="preview-button-full-reader dropdown" id="preview-list-button" title="文本列表 Ctrl+Alt+F">
					<span class="dropdown-toggle icon-reorder" data-toggle="dropdown"></span>
					<ul id="file-list" class="dropdown-menu theme-black pull-right" role="menu">
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="demo">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">demo</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2015-11-17T04:18:13.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/220369" title="【已发布】 2016-05-23T07:08:52.000000Z">
										<i class="icon-share-sign"></i>
										<span id="220369">VIC简单爬虫程序</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="java">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">java</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2015-11-17T04:05:31.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/220399" title="【已发布】 2015-11-17T04:05:31.000000Z">
										<i class="icon-share-sign"></i>
										<span id="220399">VIC常用工具类</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="国元">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">国元</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2015-12-23T02:55:57.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/249994" title="【已发布】 2015-12-23T03:27:11.000000Z">
										<i class="icon-share-sign"></i>
										<span id="249994">提交流程配置XML文件说明</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="客户端">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">客户端</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2015-12-01T04:36:53.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/231188" title="【已发布】 2015-12-01T04:52:48.000000Z">
										<i class="icon-share-sign"></i>
										<span id="231188">舆情App客户端</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="工具类">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">工具类</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2015-11-17T04:05:31.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/220399" title="【已发布】 2015-11-17T04:05:31.000000Z">
										<i class="icon-share-sign"></i>
										<span id="220399">VIC常用工具类</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="接口文档">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">接口文档</span></span>
									<span class="tag-count pull-right">2</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2016-03-04T08:23:31.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/302503" title="【已发布】 2016-11-15T05:55:45.000000Z">
										<i class="icon-share-sign"></i>
										<span id="302503" class="whiter-on-black">COMMON附件相关接口</span>
									</a>
								</li>

								<li class="file-item item" file-created-date="2015-11-04T08:46:11.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/210732" title="【已发布】 2016-05-15T08:01:29.000000Z">
										<i class="icon-share-sign"></i>
										<span id="210732">喵社区 修改说明</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="新华社">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">新华社</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2015-12-01T04:36:53.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/231188" title="【已发布】 2015-12-01T04:52:48.000000Z">
										<i class="icon-share-sign"></i>
										<span id="231188">舆情App客户端</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="框架">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">框架</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2016-05-19T06:52:32.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/382906" title="【已发布】 2016-06-17T02:51:43.000000Z">
										<i class="icon-share-sign"></i>
										<span id="382906">framework一些简单说明</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="爬虫">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">爬虫</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2015-11-17T04:18:13.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/220369" title="【已发布】 2016-05-23T07:08:52.000000Z">
										<i class="icon-share-sign"></i>
										<span id="220369">VIC简单爬虫程序</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="自动化">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">自动化</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2015-12-23T02:55:57.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/249994" title="【已发布】 2015-12-23T03:27:11.000000Z">
										<i class="icon-share-sign"></i>
										<span id="249994">提交流程配置XML文件说明</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="舆情">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">舆情</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2015-12-01T04:36:53.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/231188" title="【已发布】 2015-12-01T04:52:48.000000Z">
										<i class="icon-share-sign"></i>
										<span id="231188">舆情App客户端</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="通用">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">通用</span></span>
									<span class="tag-count pull-right">1</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2016-05-19T06:52:32.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/382906" title="【已发布】 2016-06-17T02:51:43.000000Z">
										<i class="icon-share-sign"></i>
										<span id="382906">framework一些简单说明</span>
									</a>
								</li>

							</ul>
						</li>
						<li>
							<ul class="tag-list">
								<li class="tag-item item" tag-name="未分类">
									<span class="pull-left"><i class="icon-tag"></i><span class="tag-name">未分类</span></span>
									<span class="tag-count pull-right">4</span>
									<div class="clearfix"></div>
								</li>

								<li class="file-item item" file-created-date="2016-05-06T12:41:46.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/369114" title="【已发布】 2016-05-06T12:41:46.000000Z">
										<i class="icon-share-sign"></i>
										<span id="369114">刷单</span>
									</a>
								</li>

								<li class="file-item item" file-created-date="2015-11-05T08:56:34.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/211683" title="【已发布】 2015-11-05T08:56:34.000000Z">
										<i class="icon-share-sign"></i>
										<span id="211683">在此处输入标题</span>
									</a>
								</li>

								<li class="file-item item" file-created-date="2015-11-04T03:15:16.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/210433" title="【已发布】 2015-11-04T03:15:16.000000Z">
										<i class="icon-share-sign"></i>
										<span id="210433">生活很忙接口文档(hurrylife-api)</span>
									</a>
								</li>

								<li class="file-item item" file-created-date="2015-07-31T09:00:37.000000Z">
									<a tabindex="-1" href="https://www.zybuluo.com/xuduochoua/note/143709" title="【已发布】 2015-07-31T09:00:37.000000Z">
										<i class="icon-share-sign"></i>
										<span id="143709">接口文档</span>
									</a>
								</li>

							</ul>
						</li>
					</ul>
					<ul id="file-list-topbar" class="dropdown-menu theme-black pull-right" role="menu">
						<li id="search-file-bar">
							<i class="icon-search icon-large"></i>
							<input type="text" id="search-file-textbox" placeholder="搜索 xuduochoua 的文稿标题， * 显示全部">
							<i class="icon-level-down icon-rotate-90 icon-large"></i>
						</li>
						<li id="tag-file-bar">
							以下【标签】将用于标记这篇文稿：
						</li>
					</ul>
				</li>
				<li class="preview-button-full-reader" id="preview-theme-button" title="主题切换 Ctrl+Alt+Y">
					<span class="icon-adjust"></span>
				</li>
				<li class="preview-button-full-reader" id="preview-fullscreen-button" title="全屏模式 F11">
					<span class="icon-fullscreen"></span>
				</li>
				<li class="preview-button-full-reader wmd-spacer"></li>
				<li class="preview-button-full-reader dropdown" id="preview-about-button" title="关于本站">
					<span class="dropdown-toggle icon-info-sign" data-toggle="dropdown" data-hover="dropdown" data-delay="100" data-close-others="true"></span>
					<ul id="about-menu" class="dropdown-menu theme-black pull-right" role="menu">
						<li title="下载全平台客户端">
							<a tabindex="-1" href="https://www.zybuluo.com/cmd" target="_blank"><i class="icon-laptop"></i>下载客户端</a>
						</li>
						<li title="@ghosert">
							<a tabindex="-1" href="http://www.weibo.com/ghosert" target="_blank"><i class="icon-weibo"></i>关注开发者</a>
						</li>
						<li title="">
							<a tabindex="-1" href="https://github.com/ghosert/cmd-editor/issues" target="_blank"><i class="icon-github-alt"></i>报告问题，建议</a>
						</li>
						<li title="support@zybuluo.com">
							<a tabindex="-1" href="mailto:support@zybuluo.com" target="_blank"><i class="icon-envelope"></i>联系我们</a>
						</li>
					</ul>
				</li>
			</ul>
		</div>
		<ul id="reader-full-toolbar-tail" class="reader-full-toolbar-tail-shown">
			<li class="preview-button-full-reader" id="preview-hidden-button" title="隐藏工具栏 Ctrl+Alt+I">
				<span class="icon-chevron-sign-right"></span>
			</li>
		</ul>
		-->
		<!-- side remark, hidden when loading. -->
		<div class="remark-list side-remark-hidden">
			<div class="remark-items">
			</div>
			<div class="leave-remark unselectable"><span class='icon-plus-sign-alt'></span><span>添加新批注</span></div>
			<div class="new-remark">
				<!-- clone the template $('.new-remark-reply').html() to here.-->
			</div>
		</div>

		<!-- template for new remark/reply -->
		<div class="new-remark-reply side-remark-hidden">
			<div class="remark-head">
				<a><img src="https://www.zybuluo.com/static/img/default-head.jpg"></a>
			</div>
			<div class="remark-author unselectable"></div>
			<div class="remark-editor" contentEditable="true" spellcheck="false"></div>
			<!-- this will be filled up by js.
    <div class="inline-error">402/400</div> for new remark
    <div class="inline-error">202/200</div> for new reply
    -->
			<div class="remark-footer unselectable">
				<button class="remark-save btn-link">保存</button>
				<button class="remark-cancel btn-link">取消</button>
			</div>
		</div>

		<!-- template for .remark-item/.remark-reply -->
		<div class="remark-item-reply side-remark-hidden">
			<div class="remark-head">
				<a><img src="https://www.zybuluo.com/static/img/default-head.jpg"></a>
			</div>
			<div class="remark-author unselectable"></div>
			<div class="remark-delete-link unselectable"><span class="icon-remove"></span></div>
			<!--This is mainly for deleting remark-reply, shown when author/remark hovering on remark-reply.-->
			<div class="remark-editor" contentEditable="true" spellcheck="false"></div>
			<!-- this will be filled up by js.
    <div class="inline-error">402/400</div> for new remark
    <div class="inline-error">202/200</div> for new reply
    -->
			<div class="remark-footer unselectable">
				<button class="remark-edit btn-link">修改</button>
				<button class="remark-save btn-link">保存</button>
				<button class="remark-cancel btn-link">取消</button>
				<button class="remark-delete btn-link">删除</button>
			</div>
		</div>

		<!-- template for remark-item-->
		<div class="remark-item side-remark-hidden" data-rand-id="" data-version-id="">
			<div class="remark-published-link unselectable"><span class="icon-link icon-rotate-90"></span></div>
			<ul class="remark-options theme unselectable">
				<li class="remark-private"><span class="icon-eye-close"></span><span>私有</span></li>
				<li class="remark-public"><span class="icon-group"></span><span>公开</span></li>
				<li class="remark-delete"><span class="icon-remove"></span><span>删除</span></li>
			</ul>

			<!-- clone the template $('.remark-item-reply').html() to here.-->

			<button class="remark-reply-view-more btn-link">查看更早的 5 条回复</button>
			<div class="remark-replies">
				<!--
        <div class="remark-reply">
            clone the template $('.remark-item-reply').html() to here.
        </div>
        -->
			</div>

			<div class="leave-reply unselectable"><span>回复批注</span></div>
			<div class="new-reply">
				<!-- clone the template $('.new-remark-reply').html() to here.-->
			</div>
		</div>

		<!-- jiawzhang NOTICE: .remark-icons will be put to mdeditor.mako and user_note.mako, where next to .wmd-preview -->
		<!-- <div class="remark-icons"></div> -->

		<!-- template for remark-icon -->
		<div class="remark-icon unselectable side-remark-hidden remark-icon-empty" style="display: none;">
			<span class="icon-stack">
        <i class="glyph-comment"></i>
        <span class="remark-count"></span>
			</span>
		</div>

		<!-- canvas, hidden always, this is used to convert svg to canvas and then convert canvas to png. -->
		<canvas id="svg-canvas-image" class="editor-reader-hidden-always"></canvas>

		<!-- This is the image panel to hold enlarged image/svg. -->
		<div id="large-image-panel">
			<img id="large-image" />
		</div>

		<!-- Hidden Popup Modal -->
		<div id="notification-popup-window" class="modal hide fade theme" tabindex="-1" role="dialog" aria-labelledby="notification-title" aria-hidden="true">
			<div class="modal-header theme">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
				<h3 id="notification-title">通知</h3>
			</div>
			<div class="modal-body theme">
				<p></p>
			</div>
			<div class="modal-footer theme">
				<button id="notification-cancel" class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
				<button id="notification-confirm" class="btn btn-primary">确认</button>
			</div>
		</div>

	</body>

</html>